package com.hq.zb.utils;

import lombok.Data;

/**
 * 登录返回类
 * @author huanghanrui
 * @date 2022-03-24
 */
@Data
public class AuthResult {
    private int code;
    private String message;
    private String status;
    private String token;
    private String refreshToken;


    public AuthResult(int i, String message) {
        this.code = i;
        this.message = message;
    }

    public AuthResult(int i, String success, String token, String refreshToken) {
        this.code = i;
        this.status = success;
        this.token = token;
        this.refreshToken = refreshToken;
    }
}

